projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af0f5c3
)
(t-mouse-make-event): Pass on mev's more informative
author
Nick Roberts
<nickrob@snap.net.nz>
Sun, 22 Apr 2007 09:08:14 +0000
(09:08 +0000)
committer
Nick Roberts
<nickrob@snap.net.nz>
Sun, 22 Apr 2007 09:08:14 +0000
(09:08 +0000)
error message.
lisp/t-mouse.el
patch
|
blob
|
history
diff --git
a/lisp/t-mouse.el
b/lisp/t-mouse.el
index eca2ce2b9fe10ddeb750092ce87f8a46ae189c2f..15521decd909f0df530c6c1d53bfa95d074f3626 100644
(file)
--- a/
lisp/t-mouse.el
+++ b/
lisp/t-mouse.el
@@
-166,6
+166,8
@@
Also trim the accumulator by all the data used to build the event."
(if (or (eq (car ob-pos) 'STILL) (eq (car ob-pos) '***) (not ob-pos))
nil
(setq ob (car ob-pos))
+ (if (string-match "mev:$" (prin1-to-string ob))
+ (error "Can't open mouse connection"))
(setq t-mouse-filter-accumulator
(substring t-mouse-filter-accumulator (cdr ob-pos)))